implemented getNextSolution
Merge branch 'master' of https://github.com/morteano/AI