IT WORKSSS~~~. control the turns in the while loop.
Fixed the spacing a bit and added more comments.
Merge branch 'master' of https://github.com/rebeccamurphy/Hackathon-2013

Merging with what other people have been doing.