Commentyed pseudo code on creating sequences.
Improved error message.