Added graphs of sample input.