Adding generic BST.

Signed-off-by: utsavpandey <utsavpandey@gmail.com>