Errors in addElement() function in comments.  Compiles fine without these