implementing to string method for board