E9.54. Instructions: Static and recursive sum method