Changed listOfMultiples to a class variable

made listOfMultiples accessible to the whole class so it can be used in other functions