updating Board.scala so columFilled and rowFilled use the same function and pass in a Postion mapping function.