Continued C# implementation. Found a bug that needs to be fixed (i.e., range doesn't work for mins greater than 2).