Still working on 11. Added more test cases.