Finding The Sum Of A Sequence