magic-forest: adding the magic forest program.
magic-forest: speedup.