Exercises 21 and 21 - LPHW: Functions