Partial sum implementation

Due to #31 and 7f6e0254ac0c1c40414df8c1905101473edf6685, and once you change the return type, you should remove `range_algorithm` here. `partial_sum` cannot be used with rvalue `initializer_list`s.