added new file foo.cpp
foo.cpp -- added foo()
main.cpp - added foo(), bar()
foo.cpp - foo(), bar(), new()