add length function
merge with upstream master, hide getSecondLastNode
shorten += and -=
Merge pull request #2 from thytrannk/master

add length function