Plotting absolute value functions by using a table