Put in the Build Tree Method

Still has errors, just had time to quickly put it in, will work on
getting it running soon.