Tessolve interview question

Design a mod 5 ripple down counter