package basic;

public class Basic {
  public static void main(String[] args) {

    // hello world
    HelloWorld hello = new HelloWorld();
    hello.sayIt();

    // -------------------------------------------------------------------
    System.out.print(String.format("\n\n%60s\n\n", "").replace(' ', '-'));

    Factorial fact = new Factorial();

    long factResult = fact.factorialize(5);
    System.out.println(factResult);

    // -------------------------------------------------------------------
    System.out.print(String.format("\n\n%60s\n\n", "").replace(' ', '-'));

    int[] list = {5, 2, 4, 3, 1};
    SortableList sortList = new SortableList(list);
    
    int[] sorted = sortList.sort();
    
    System.out.println(sortList.toString());

  }
}

@@ -93,16 +93,70 @@
 o world%0A
+    System.out.println(%22Obligatory 'Hello, world!'%22);%0A
     Hell
@@ -184,24 +184,24 @@
 lloWorld();%0A
-
     hello.sa
@@ -355,24 +355,61 @@
  ', '-'));%0A%0A
+    System.out.println(%22Factorial%22);%0A
     Factoria
@@ -443,83 +443,114 @@
     
-long factResult = fact.factorialize(5);%0A    System.out.println(factResult);
+for (int i = 0; i %3C 20; i++) %7B%0A      System.out.printf(%22%252s! = %25s%5Cn%22, i, fact.factorialize(i));%0A    %7D%0A    
 %0A%0A  
@@ -694,24 +694,62 @@
  ', '-'));%0A%0A
+    System.out.println(%22Merge sort%22);%0A
     int%5B%5D li

Add some labels to the sections