Yeah, code was not complete. Added file output as I did not know we were supposed to write the answer to a new file.