This code was lifted from a video which was stumbled upoon that was
for an extra credit assignment on a college level programming course.
The video did not specifically detail the code, so I was able to reverse
engineer it and added some additional perameters.