Add: Add function for inserting val input when generate new board and create data.js
Mod: Game methods so that when user click "Restart" and "New Game" buttons the game methods gets called.