Finished the squareBlocks function and therefore Assignment D