Create swag.kt, a Kotlin implementation

This should close issue #17
Create swag.as

This should close issue #6
Merge pull request #21 from DavidJFelix/patch-1

Create swag.kt, a Kotlin implementation