Modified main.cpp and added info to README file