 		var nCoordlist = Array<Array<Int>>()
 		
 		for var coord in coordlist {
-			let col = coord[0]
-			let row = coord[1]
+			var col = coord[0]
+			var row = coord[1]
 			let vertical = coord[2]
-			coord[4] = checkFitScore(col, r: row, vertical: vertical, word: word)
+			coord[4] = checkFitScore(&col, row: &row, vertical: vertical, word: word)
 			if coord[4] > 0 {
 				nCoordlist.append(coord)
 			}

		return score
	}
	
	func setWord(col: Int, row: Int, vertical: Int, word: String, force: Bool = false) {
		if force {
			//let word = Word(word: word, col: col, row: row, vertical: vertical)
			currentWordList.append(word)
			var r = row
			var c = col
			
			for letter in word.characters {
				setCell(c, row: r, value: String(letter))
				if vertical == 0 {
					r += 1
				}
				else {
					c += 1
				}
			}
		}
	}
	
	func setCell(col: Int, row: Int, value: String) {
		grid![row - 1, col - 1] = value
	}
 
	func getCell(col: Int, row: Int) -> String{
		return grid![row-1, col-1]
	}
	
	func checkIfCellClear(col: Int, row: Int) -> Bool {
		let cell = getCell(col, row: row)
		return cell == "-" ? true : false
	}
	
}
		}
	}
	
	func checkFitScore(inout col: Int, inout row: Int, vertical: Int, word: String) -> Int {
		
		if col < 1 || row < 1 || col >= self.columns || row >= self.rows {
			return 0
		}
		var count = 1
		var score = 1
		
