Made two sample programs.