Added the QTREE solution