Refactored snake object and setup fundamental code for game over