 		}
 	}
 	
+	// MARK: - Debug
+	
+	func printGrid() {
+		for (var i = 0; i < rows; ++i) {
+			var s = ""
+			for (var j = 0; j < columns; ++j) {
+				s += grid![i, j]
+			}
+			print(s)
+		}
+	}
+	
 }
	func checkIfCellClear(col: Int, row: Int) -> Bool {
		if col > 0 && row > 0 && col < columns && row < rows {
			let cell = getCell(col, row: row)
			print(cell)
			let bool1 = cell == "-" ? true : false
			
			print(bool1)
			return cell == "-" ? true : false
		}
		else {

	
	func generate() {
		
		availableWords.sortInPlace({$0.lengthOfBytesUsingEncoding(NSUTF8StringEncoding) > $1.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)})
		
		print("---")
		print(availableWords)
		
		for word in availableWords {
			if !currentWordList.contains(word) {
