william patterson dunlop