Number of words to print can now be passed as a command line argument