added code to populate the game board