1-d Cellular Automata in Java. Inspired by the book Complexity: A guided tour