Red Black Tree implementation with a simple canvas renderer to check my working.