Game ships in java, some bugs to solve