Added main.cpp from SVN part of assignment