Add assign()
Fix assign()
Merge pull request #16 from nathancahill/functions

Add assign()