Update Result.scala

removed unused code