Replication of Unix Cal in Ruby