Fixed tree printing.
Initial (incorrect) attempt at cntq
Solution for Counting Quartets (cntq)