Manhattan distance heuristic
Movement method with parameter