WIP started checkBoard function