Updated Board class to allow player to place ships horizontally or vertically