wrote heuristic function. Can't compile locally so this is untested.
Merge branch 'master' of https://github.com/linds14sr20det/cmpt355proj1.git