Found a few bugs in my code, I have now solved them. added Results.txt for the result of my program.