first draft of Getopt.java
Getopt.java