Made partitions.hs, demo for maddie