public class Util
{
    public static int[] convert (String input)
    {
        int[] result = new int[input.length()];
        char[] sequence = input.toCharArray();

        for (int i = 0; i < result.length; i++)
        {
            result[i] = Character.getNumericValue(sequence[i]);
        }

        return result;
    }

    private Util ()
    {
    }
    
}
@@ -13,16 +13,57 @@
  Util%0A%7B%0A
+    public static final int OFFSET = 7;%0A%0A
     publ
@@ -362,24 +362,658 @@
 ult;%0A    %7D%0A%0A
+    public static int%5B%5D replicate (String input, int times)%0A    %7B%0A        int%5B%5D data = convert(input);%0A        int%5B%5D toReturn = new int%5Bdata.length * times%5D;%0A        int index = 0;%0A%0A        for (int i = 0; i %3C times; i++)%0A        %7B%0A            System.arraycopy(data, 0, toReturn, index, data.length);%0A%0A            index += data.length;%0A        %7D%0A%0A        return toReturn;%0A    %7D%0A%0A    public static int%5B%5D offset (String input)%0A    %7B%0A        int%5B%5D data = convert(input);%0A        int%5B%5D offset = new int%5BOFFSET%5D;%0A%0A        for (int i = 0; i %3C OFFSET; i++)%0A        %7B%0A            offset%5Bi%5D = data%5Bi%5D;%0A        %7D%0A%0A        return offset;%0A    %7D%0A%0A
     private 

Update Util.java