Lab7:Deriving substructure recusively from Images