fixed up snake to work with spacebar