implemented board and filled in getPieceAt
iterated through for null board