The insert algorithm for RBT tree is very simple but easy to make a mistake. The basic steps are as follows:
Final tree should look like this.
Final tree should look like this.
Further explanation of ziz-zag rotation, please click the here.