Minor Changes and outputting task4's file

Minor changes include adding the cpt to values passed across when using the copy constructor for the creation of a node,
and adding the Score function and constant in main and appending that to the file writing for task 4