Add example for a state table implementation