I want to create an instance method that contains a function that modifies one of the variables inside the instance, and then iterate this operation multiple times. Here is a sa