Refactored to use thread::sleep and time::Duration and updated link in README.md
Closes #3. Thank you @jdm!!! ❇️