add swift implementation

Swift!
Signed-off-by: Andre Dublin <81dublin@gmail.com>
Run via terminal solution found @ http://stackoverflow.com/a/24011715/607055