Now works for level 2 ,after soe re-arranging - problem solver while loop looks sub-optimal