Wrote methods for the container class.

Wrote the default constructor, the add task to 'list' function, and the
reserve function.