Some Problems of Basic Organization in Problem-Solving Programs