First 2D game in Java