Using Swift to create a Bridge playing program