created beginning of graphing calc