Create Algorithm2