added new Heuristic
implemented various rating functions