Create REPL.cs

Re-implemented the program in C#.