Added simple tree implementation in python