Demonstration of Algorithmic Quantum Speedup for an Abelian Hidden Subgroup