Fixed swap, Candidate_print
Its working!  No memory leaks
merged