added gitignore
Updated to use optparse