Add cleanDataStructure function.
Implements pattern copy. Still have to implement patternPaste.
Implements browsing the tree using up and down arrows. The visualization of the data using the arrows isn't implemented yet.
Full support of 'arrow key deplacement' in the tree, implemented.
Refactor the way to extract the data using a function defined in tools.py