I have to program a method that should return the sum of vectors if they have the same dimension. Otherwise, it should return null.
So the parameter of the method is