added alerts and stuff
commented out unecessary initial plotting
changed index to index.php
added php
changed line to linevals for naming reasons
deleted body of update_fromfile
changed update from line
created update by line function
deleted draw_graph function
refactored parse file