add algorithm type
Merge pull request #2 from dsybswsw/new_branch

add algorithm type