Helper method to convert given board to a list of tiles with corresponding positions