Updated HasNextQEA using states starting at 1.

Added a method to SimplestQEA that allows us to set many states as
final.