added main.cpp
Merge pull request #1 from fpan/master

added main.cpp