codewars | checkerboard kata