add command line argument to specify the number of tasks to display

Really quick change that lets the user pass in the number of tasks to display with a -n option