Adds addition function.

Adds addition function which takes two integers and returns the sum.