8 puzzle homework