Used more than 2 hours finished the rb tree...