Representing spatial experience and solving spatial problems in a simulated robot environment