Fixed command line flag. Now each function will print usage statement if it does not have the correct number of options