Working on 23 in python
Finished problem 22 in python