Just a few whitespaces changes.
Introduced a heuristic evaluation function.