General problem solver model (GPS)