Fixing solutions3.py