Solved problem 24!  I am now Level 1!!! :D

I planned the algorithm and wrote the psudocode in biology class, lol.
I am a terrible student.