red black trees still glitching out on me