algs4; exercise 1.1.22 - add test with duplicates
algs4; exercise 1.1.23 - add test with duplicates