tests both algorithms for a list of test inputs
Merge pull request #16 from osterbit/tom

tests both algorithms for a list of test inputs