start to build algorithm
remove unnecessary repetition increase
Merge pull request #1 from mcasper/algorithm

Algorithm