Fixed bug in add.cpp, finished search function, but not search main (now
usable in mod and del), and updated header accordingly