Using Java to Make A 2D Game