adding four integers together to a total