Added solutions to 22-25 written in Python