added hackerrank_Different_Ways.scala