deleted unnecessary lines
"clean" added to "all"
testfile for testing correctness
added test.cpp to makefile