Compiler built in Ruby for CS class