Added a license to main.cpp