added cli options on assignment 4