Added solution for Problem21.
Added more tests for Problem21.
Added solutions for Problem21.