added Subject class to observer py file