initial definition on main.coffee
added printArray for debugging
refactored buildBoard to 1 line
defined randomCellIndices to generate cell indices for use in generateTile
validate move, generate tile and show new board
my own attempt at left arrow key
arrow keys all working
fixed isGameOver