lecture:prog2:sharif-judge