First implementation of addToEnd method - plus the beginnings of tests
of the method (though incomplete at present as we don't have getters in
List yet and so cannot test if objects are being added correctly).