add algorithms
Merge pull request #6 from canard0328/issues/#5

Issues/#5