To help students formalize their knowledge of algorithms, act out these abstract ideas as a class.