Added curry and uncurry functions
Merge pull request #202 from DanielWaterworth/master

Added curry and uncurry