finished up lab 2, DNS thread resolver engine