Function1

Function1繼承AbstractDrawFunction 的abstract method, override method f
,改寫成Function1的算法(x*x)