this little cocoa program running an mac osx simply searches for a given string and appends an incremental number to it for each occurrence