created basic logic of searching and string search

this is the part which implements the basic part of the searching!

so in here the string search part is implemented by using the pre order traversal!