Implemented trip deletion functionality.