fn count_tail_positions(
    head_motions: &Vec<(Direction, usize)>,
    rope_length: usize
) -> usize
Expand description

Map the movement specification to the tail movement of an arbitrary length of rope.