Red Black Tree implementation in Java (old uni project)