Replacing list with set

Replacing list with set
Handling no filename at open
Speed up

Some speed up in the brute force by not using some logic solve
Write_csv

Write_csv edit: remove whitespaces and correct the \n
Merge remote-tracking branch 'origin/Set'