a red black tree implementaion using java