Added first draft of c-sequential algorithm