Redid Problem 1 in C# and also started in Python to learn it a little better