Heuristics, hacks, and habits: Boundedly optimal approaches to learning, reasoning and decision making