Detail the algorithm in words. Also, Use strict warnings and diagnostics or die :D
In reply to Re: What am I missing? by Anonymous Monk in thread What am I missing? by neo_