Print function modified, test1.cpp removed