Practice small algorithms