Added rotate right and rotate left utility functions that are per instance. Added uncle==null clause in rebalanceTree to prevent duplicate code