Update Result.scala

Introduced a common trait for results that are not good.