check for doubles in first set
fixed a bug if follow symbol was a terminal