Updated four.py

Made it a lot faster