add swift implementation

Swift!
Signed-off-by: Andre Dublin <81dublin@gmail.com>
:+1: