Using getOpts in java