Factorise by grouping (#265)

Factorise by grouping (#265)

Factorise four-term expressions by grouping pairs.