states and actions tools
qlearn algo phase 1