I am having trouble getting a piece of code to work, as the errors I am getting are circular.
I start with the following code: