Wrote impure Sequence#append.

Wrote Main class to test impure Sequence.