Implement Int addition.

To make this work I first extended the Trit.add method to take an
optional carry-in Trit.