Adding Main.cpp with main function.