Update Liquid.pde

The 'contains' function can be simplified so that it is better readable (at least, in my opinion). If my suggestion is accepted, the related code snippet in Chapter 2 of the book and the file liquid.pde in the folder NOC_2_5_fluidresistance_sequence must be similarly updated as well.

(Thanks for the great book.)