add_rowindex function

Add a column of row numbers to a data frame