added new files and make

added a clear cpp script, along with makefiles