add learning agent with Spatial pooler

SP provides CAM memory and will serve here for learning actions, like RL