scala: Improve hamming distance
scala: solve robot name
scala: add additional test for robot name