Added missing method in slide 24

Added instance_variables method