PlaySimple Games Interview Question

Taking input and printing Binary Search Tree