fixed the heuristic function
Merge branch 'master' of https://github.com/sfleckenstein/EECS391-PA3