Added function to compute available moves from a given board.
Weighted probability for new tiles to be a 2, to better match the real game.
Added a simple AI that plays the game by choosing randomly from the available moves. Seems to get about 1100 points on average (1000 trials).