int forward_search(char * str);
Searches for str through the next characters, returns 1 and goes to the beginning of the string on success, else returns 0.