#!/usr/bin/python

import sys

import red_black_bag_mod

print("Note that there are two 2's - this is a bag, not a set")
sys.stdout.write('\n')

rbs = red_black_bag_mod.RedBlackTree()
for i in range(9):
    rbs.add(i)
rbs.add(2)
print(rbs)
sys.stdout.write('\n')
rbs.to_dot()