Spam Detector written in Python