I need to know how to write my own version of the strchr method in c++...HELP!!