Implemented torrent parser and updated unit tests