Add solutions to problems 21 to 25