Added Python solutions to problems 23 & 24