Implementation of cyber dojo poker hands kata in swift