lab safety homework answers how to write phd thesis in computer science