Adapt gitignore
Add license
Add `containsOnce` and `containsInOrder`