Added docstrings to NPuzzle interface.
Added an isSolved method.

Added some private helper functions in MatrixNPuzzle. No implementations yet.
Added docstrings and some implementations to MatrixNPuzzle.