A Spritz-like program in C#