Coded and tested basic trigger matching

Also, added a method to delete text blocks by block number (not line
number)