Naive implementation of the bumphunter algorithm