Planning with GRAPH PLAN algorithm