Update P2.c

Formatting