readXVG function

Read output data from a XVG format file.