Updated readme, added comments to main.cpp