yeah i know, i just started reading some tut's about optimizing codeBut, lepricaun, nicer code is a bigger part of coding, why use code that isn't optimized. I recommend you get one of the begining programming books, that don't teach code, but teach theory. They will be very good for you. They will teach you to, optimize your code.
That is one of the problems i have with my Algo's.
Your code isn't bad, it's just the best it could be.