ConsecutiveCharacters completed in Scala