walking animation

added code for the walking animation of the subject