Metaprogramming exercises and my_attr_accessor implementation