Uncovering algorithms in the fly visual system