problem 7 is getting there, logic done.