Added nullable? method to Terminal class

Added also ambiguous example in spec file of EarleyParser class.