Added missing method in slide 24

Added instance_variables method
Merge pull request #79 from CactusMactus/patch-1

Added missing method