completed outputting sha1's of pieces to metadata file.
temporarily added metadata and torrent files
removed the temporarily added files and updated todo.txt.
replaced fputc in with fwrite in a utility method.
saved piece hashes in a global pointer in pwp.h