Implementation  Analytic Hierarchy Process in Scala