Added assignment heading to prog4.java