C# Implementation of Exercism exercise Leap