Beginner AI done and minor changes

Now the game is completely playable (in command line)