A simple learning agent interacting with an agent-based market model