Update Function.swift

add a class: RepeatOneFunction