Plotting points for a linear equation using a table of values