Fixed Board#fill_board method and refactored code.