Complete Solution of the Eight-Puzzle