Basics of Planning and Programming