Implemented Delete function for a row.