Program 3 and 4 Order and Chaos