implemented the command line and std-input parsing for random queues