Add math lib and tests.
Add .gitignore.
Remove junk line.
Move triangular-number to math lib.
Add type info.
Add build system.