Added extra classes used in solution 27.