implemented some basic methods of board class