Adding the modulo-16 binary up counter for activities 2a and 2b.