added sha1 library.
checking sha1 from pieces and to generating hash from info dictionary inside the .torrent file.