class Robot:
    def __init__(self):
        self.actions = None
    
    def drive(self):
        print("Hello")
    
    def turn(self):
        print("I Hate JAVA")
                
            
        
NAME_1 = Robot()

actions = {
    'mission1': [drive(), turn(), drive()], 
    'mission2': [turn(), drive()]
}
can you create a method in the class that iterates on the functions in the array and runs them?