spam filter as my python project for the course