Added the print statement

Other minor changes:
- command lookup is case insensitive now
- added functions to access command line arguments