image graphing program using func classes'