Figured out flattened torus distance and did Exercise 4