a simple clone of the Unix cal command.