update to problems 2 and 3

checkerboard debugged
stonemason applied for loop