added getHeight, getWidth to GameObject, restrained Player movement to be inside the Screen