this is the Java AI code

Battleship
Merge pull request #4 from Wellrabbit/patch-1

this is the Java AI code