Scoring function
Merge branch 'master' of github.com:Thomz/AI4