Thanks! I've learned a lot creating these algorithms, it's a really good way to get used to a language.