Update list.c

add brakes