A programming challenge submission to solve a Minimum Edit Distance based problem with Scala