Add single support starting and ending

Add single support starting and ending for calc-walk-pattern-from-footstep-list.