Use deque instead of list in xml generation
Added gitignore