sample programs to practice from UNP class