Implements board population with second parameter passed as value.