The whole point of this project is to practice JavaScript and create functions to make program run smoother