Added inheritance to playdoh example