Added binary tree sort

Adds tree sort algorithm plus a test case