Counting mistakes
"Off by one" is the most famous bug of all: a loop that stops one too early, or a list position that's one too far. Check where your counting starts and stops.
Challenge A:This should play the hihat on beats 1, 2, 3 AND 4 — but it's one short.