added changes to snake and gameboard.