Fix a minor bug in appending to postings lists.
Actually write the index to disk.
Disable concurrency for addToken, add some error handling.
Add test, improve performance a lot. Use unrolled linked list.