Addition of solution to Q1.3 CTCI