changed algorithm
fixed nextPush and some stuff
Merge branch 'master' of https://github.com/jonac/AI_project