Update PNP.c

Changed colour to an int, added constructors