Simplifies interface

Add generator and avoided_by methods to Pattern class
No need to send length of permutation to Pattern constructor
Add documentation
Remove unnecessary files
Unnecessary files
Document paper
ignore latex files
Add comments