added hackerrank_String_Reductions.scala