Added AI (if you could call it an ai)

-AI has no intelligence. it just places it's marker on the next
available square
-cleaned up code alittle bit. next commit will be an overhaul with
clearer names for variables and comments