Add intellij stuff to .gitignore
Add basic assertions and counting