Added window.isGameOver, a variable. Use in render()

Added endGame() and startGame() functions in logic.js
Merge pull request #77 from Folashade/sri

Added window.isGameOver, a variable. Use in render()