added checkpoints and basic leg animation