command split

splitting the commands to 3 or 2; 2: start -->center; center-->start; 3:
start center1; center1-->center2; center2-->dest