the programs used in DS Lab Sem 3