Teaching method increases students' interest in programming