adding algorithm codes
adding more algorithms