day 9. search tree expands to next piece redux