Create an implementation with Ruby of cal program in Bash