Add basic getopt support with option for user-specified MINE_DENSITY
conform to style; simplify getopt loop; add usage function
Merge pull request #1 from HalosGhost/master

Add basic getopt support with option for user-specified mine density