fixed board dimensions and added restart-game function