fixed final bugs with heuristic and vi planning
changed print commands