changed main and fixed _RARE_

added main function and have the code figure out which words are _RARE_