Began to parse command line arguments. This version works.