Bug fixing in List, example modified