Implementing the insert operation for the table view data source.