add problem 9 tests
complete problem 9
Merge branch 'problem9'