[add] problem 6 solution in scheme