Source: https://www.tdms.worcs.sch.uk/old%20live%20files/homework/Computing/Year12/06102017-Boolean_expressions.pdf