update

includes acceptable and unacceptable inputs for each state.  this is
only the initial algorithm as it will change as I think about it more.