Rig for drilling of well