Changed heuristic function
Merge branch 'master' of github.com:2014-codeteam/2014-codeteam