Unfortunately, i don't know if it will work or not because it won't compile. It says that my functions "was not declared in this scope. I looked through it and it wont accept it. I even tried closing down the program and restarting it but it wont work. I am not sure what to do with it.
I will post a link to a copy of the code because the strait copy is too long to post due to character limit.
https://drive.google.com/open?id=1ojsd7MrdJVKGfpK3I9gauFjDjhRO9i9U
--DH