Implementation of Battleships in C#