implemented graphing. still need to get function from the calculator view though