Fixed the broken code for the other algorithms
Merge branch 'master' of https://github.com/sagieske/AA1