Example code for libcurl from assignment page.