Update tp2.c