Add license.
Add .gitignore file.
Add memo table.
Simplify associative terms. Add test cases.