C# solutions to HackedRank programming challenges