Update lab8.c

Doesn't read last line from items.txt