Made changes to input classes. Added skeleton for rbTree