Wrote a function that allows another function to only be called the once
Wrote a factory function that returns two functions that implement an up and down counter