initial commit of C file to find subjects (regexes are a lost cause)