Write a function that will take any function fn and an interval inter in ms and return two functions: one to (re)start calling fn every inter ms and another to stop doing that.
Write a function that will take any function fn and an interval inter in ms and return a new function. That new function should stop its previous run if was called earlier, run function fn immediately and every next inter ms and return a new function that will stop it.