Algorithm done
Merge pull request #8 from mrudu/master

Algorithms done.