Passed q2 with recursiongit add hw2.py