Untested code. Structural example of an agent that has perception and bases decisions on that perception.