Add function object, output to 3th file matchs task
lab06 initial