Write a Fortran program to evaluate the equation y(x) = x^2 - 3x + 2 for all values between -1 and 3, in steps of 0.1.