Added license.
Updated main.cpp with comment header.
Removed junk code from main.cpp