add basicalogrithm
move a file into BasicAlogrithm