removed SWITCH define and replaced with opt.switch_doors
renamed secondoor -> seconddoor in get_other_door function signature and prototype
added NDEBUG define to disable asserts
fixed HELP_STR macro, fixed getopt_long
replaced COUNT macro with function params