we knew the next state so now why we need to k mapYou fixed it. Your counter would have counted up to 4 and stayed there indefinitely had it been implemented as you had shown (100 goes to 100).
thanks lot tshuck today you taught me lots about digital electronics