Using the table function to create a table of values