Feb-04-2018, 05:41 PM
You never call any of the functions you define. You should start at a basic tutorial, if you try to continue hacking through things you're going to waste a lot of your own time. You written dozens of lines of code, apparently not having tested any of it, and that's a good way to end up with too much complexity to reason about. Test your code every time you make a change to it, and write the most testable parts first. When you hit a problem, you'll have a much, much easier time resolving it that way.