added changes to source.cpp to include more examples
added more explanations to the source.cpp file
Added information to the source.cpp file