Create chessboard

Assignment 3 This one I needed to use the solution but I think I understand it.