First Java game, simple game of snake