Final version, works but too long to compute

Next step is trying optimized brutforce to reduce overhead
Merge pull request #1 from ArnaudPanaiotis/remake1

Final version, works but too long to compute