Write the definition of a method add, which receives two integer parameters and returns their sum.