Added length() , append is much quicker.

I added the 'last' in the struct , so that I can keep track of the last place of the list , so that append is much quicker for big numbers.