Create TermState.java

enum for possible terminal states