Add Algorithm and implement some functions related with SqLish