Create algorithm.cs