I completed the sumSlice method.