Click the flag to watch the tree grow! you may have to wait for leafs to appear. And you probably thought this required lots of math and stuff. EDIT : I changed it so that branches come in different sizes. And now leafs look more realistic!
Try experimenting with different numbers for the scripts. The code is pretty simple (If you can call it that. :3), as it is based off of clones.