updated algorithms and removed bugs
Merge branch 'master' of https://github.com/OpenDSA/OpenDSA