Added counter module. Uses 6-bit counter.