a simple classical planner implementation based on graphplan