On computing periodic orbits