Add solutions to problems 47, 48, 74