Added __init__ method and created self.data instance variable