package com.bert.pixels;

import java.util.Arrays;

/**
 * Entry point to solve the pixel exercise
 */
public class Animation {

  public static void main(String[] args) {
    System.out.println(Arrays.toString(args));
  }
}

@@ -30,24 +30,137 @@
 ort 
-java.util.Arrays
+com.bert.pixels.models.Chamber;%0Aimport com.bert.pixels.view.TextVisualization;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List
 ;%0A%0A/
@@ -235,16 +235,59 @@
 tion %7B%0A%0A
+  private final static int MAX_SIZE = 10;%0A%0A
   public
@@ -329,46 +329,562 @@
     
-System.out.println(Arrays.toString(arg
+final int speed = Integer.parseInt(args%5B1%5D);%0A    TextVisualization visualization = new TextVisualization(MAX_SIZE);%0A    final Chamber chamber = visualization.from(args%5B0%5D);%0A    // We could try to get the max nb of iteration by using the size of the chamber and the speed%0A    // and only allocate that many entries in the list #prematureoptimization%0A    List%3CString%3E iterations = new ArrayList%3C%3E();%0A    while (!chamber.isEmpty()) %7B%0A      iterations.add(visualization.to(chamber.movePixels(speed)));%0A    %7D%0A    System.out.println(String.join(%22%5Cn%22, iteration
 s));

Fill out main method