challenge 127: mccarthy's 91 function solution in C#