Redid problem 6 in C#. Removed my old python implementation of problem 6