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!
Merge pull request #3 from supunwick/patch-2

created basic logic of searching and string search