Task Planning Algorithm in Hybrid Assembly/Disassembly Process