Update IOCextractor.py

Added a SHA1 function to the program.