2.7 finished. recursive solution incomplete