started on graph drawing script