SolitaireCipher - problem 1 from RubyQuiz.com in C#