add function to check for solvedness. add some more board manipulation functions