Modified te createNPCspawntimers method to take an ArrayList as parameter and return an ArrayList