Added main.cpp and updated README