Python implementation of the Hartigans' dip test.