Recursive varargs methods in Scala