Added optimizations to the NPuzzle heuristics so that they use lookup tables to get the goal states rather than slow math