started working on grapher class
Updated grapher so it now spawns a thread.

Also created a tester file, to test the grapher executing in a separate
thread.