Added problem 23 - alternative solution