Chip and Compiler in Ruby based on Elements of Computing Systems by Nisan and Schocken