Added Event Listeners, methods for event handling in GamePanel.java.