Create graph.php

changed index.php to be graph.php, using form to have the inputs of the graph data in order to construct the graph.