Init Simple algorithms.

Signed-off-by: Ji You <jiyou09@gmail.com>