Battleship implementation using Chord