Added firsts to calculate what terminals words matching a given symbol may begin with