Do first compile. Solve exercise 1 for assignment 1.