Updated EightPuzzle mainly via introduction of a simpler print method,
which makes implementation of A* easier.