Added bkg-foreground segmentation, almost done w/ exercise 3.6