sum function
Merge pull request #2 from Kyr/#1

test - 'passed', coded well, sum function - ok