Sliding puzzle. Pyatnashki. Get the pattern