Fix seg fault for command line option

When -A is used but no value is assignment, no seg fault will occur.

Comments about the code and work distribution are added.

Report is partially completed. Wait for the input from everyone. Please
send it before 9 pm.

Folder is reorganized for submission.