Updated programs with useful output.