A Memory Model for Decision Processes in Pigeons