How many ways can you move the cat around the bases?
Credit to Exploring Computer Science curriculum.