Case-Based Planning: Viewing Planning as a Memory Task