Fixed writeCPT not printing values

issue was with truncating int values (now uses toString instead as write requires an int or a string)
a secondary issue was the boolean list for the full adder never being initialised to the default with all false values