I initiated multiple objects of the same type and I am trying to add them to an ArrayList that will be passed to a function later on but I noticed that the values of the variabl