Teacher holds class wedding for lesson