Project Euler 358 - Cyclic numbers

Official link: https://projecteuler.net/problem=358