Fixed syntax errors in Algo.cs