Datastructure changes: Changed the signature of the list constructor and added a secondary constructor for Buffer.