first general implementation of generic : discretized actions, states, and Q table