Removed unneccessary stuff and worked on main.cpp
Put all necessary functions/methods in main.cpp.
Fixed errors in main.cpp.
Need to debug range error in void calculate
Updated readme.txt
Manual merge