Added algorithms. (#61)