A Task and Motion Planning Framework Using Iteratively Deepened AND/OR Graph Networks