My Arduino seems to be stuck inside of an if statement??

I like this idea alot.. I'm going to try a crack at this instead of the complicated way of writing like mine is.
I just feel like its easy to get lost in my code..
Isnt this format called "Subroutines"?