Added ContiguousSum solution

That took me some time :-/
Slightly better tailSeq implementation, without helper function