A simple algorithm for a learning AI agent, the cat will navigate towards the red dot by changing the odds of which direction it chooses to go