add pieces_on_board method to board