Battle Ship game written in Java