Program reads c++ code from a file and removes comment lines, unwanted spaces, then places a space between all tokens