An attempt at making a visual AVL tree (beginner Swift project)