Automated exploration of the mechanism of elementary reactions