added syntax highlighting to the readme for github
fix invalid evaluation when max cost search was chosen