Completed challenge 18, but with a limitation (counter can't be bigger than 32 bits).