stupid solution for stack sorting
added recursive implementation
binary tree playground