My first attempt of making a 2-D game with Java