started modular addition code. Harder than I thought, because we can't use function calls. Have to do the operations by hand in each function