Adding SHA-1 testing. Added sha1 function docstring