Added snippet for Dynamic Creation of Objects