fix bugs & add Treap realization by Dmitry Korepanov
fix bugs & add Treap realization by Dmitry Korepanov