added setters for #first and #last
Merge pull request #2 from THEtheChad/master

added setters for #first and #last as well as reduced potential for error with isEmpty