added new file code.cpp