working on function grapher