Value H uses the Manhattan method. G is the movement cost with the parents G cost.