Added cartesian tree

Needs to be updated probably...
Merge pull request #34 from wiz3kid/master

Added cartesian tree