implemented isOnBoard.
Now you can play with AI!
Added RandomAI.