Added hash verification for .piece files. Created the function that assembles all the pieces into the final file.