     func prettyPrint() {
         let string = coordinates.reduce("") { board, row in
             return board + row.reduce("") { row, item in
-                return row + "| \(self.representation(x: item.0, y: item.1)) "
-            } + "| \r\n"
+                return row + "|\(self.representation(x: item.0, y: item.1))"
+            } + "|\r\n"
         }
         print(string)
     }

    }
    
    func canAttack(x: Int, y: Int) -> Bool {
        if self.x == x || self.y == y {
            return true
        }
        if abs(self.x - x) == abs(self.y - y) {
            return true
        }
        return false
    }
}


// where no queen can Attack another one

let result = boards()
print("Finished with \(result.count) possibilities:\n")
result.forEach { $0.prettyPrint() }
