option argument parsing

option argument parsing updated, additional option can be implemented
easily. No need to put arguments in specific order.

*** Error on hashing function. Permission denied error when encountering
subdirectories. Line 220.