Comecei a resolver o programming assignment 4: 8-puzzle (de novo).