Add test cases; add insert method

TODO: More exhaustive tests on insertion
Add .gitignore