CREATE TABLE table_27155243_4 (episode__number INTEGER, written_by VARCHAR(255))
What episode was written by Matt Maclennan?
    
SQL: SELECT MAX(episode__number) FROM table_27155243_4 WHERE written_by = "Matt MacLennan"