Moved tile logic to board and out of view controller

game logic should go into model not controller