Arcfinder: an algorithm for the automatic detection of gravitational arcs | Synapse