Implemented basic AABB tree