Testing Divider

also, `indexWhere` returns `-1` if the condition is never reach, which is absolutely horrendous. Shame on you, scala API. Fix it to produce an `Option[Int]` instead.