solution for the utopian tree problem
unfinished solution to gem stones problem