Initial state

Original program provided by Dr. Denis for the assignment.