Adding my solution to the Helices problem.