added randomized 3d tree and arrayList style 2D tree