Fixed formatting, syntax

Made the indentations more standard, added colons where they needed to
go.  Removed some infinite while loops.  Made simpler flip-flop commands

Added some information to the README
Merge pull request #1 from theJalden/master

Fixed formatting, syntax