Ruby assignment to create a command line program similar to cal