Added options flag for specifying the number of examples from the command line