Gait phase is incremented and looped. Added printing of text.