added hackerrank_Prefix_Compression.scala