 						}
 					}
 				}
+				
+				if direction == 0 {
+					c += 1
+				}
 				else {
-					if activeCell != String(letter) {
-						if !checkIfCellClear(c, row: r - 1) {
-							return 0
-						}
-						
-						if !checkIfCellClear(c, row: r + 1) {
-							return 0
-						}
-					}
-					
-					if count == 1 {
-						if !checkIfCellClear(c - 1, row: r) {
-							return 0
-						}
-					}
-					
-					if count == word.lengthOfBytesUsingEncoding(NSUTF8StringEncoding) {
-						if !checkIfCellClear(c + 1, row: row) {
-							return 0
-						}
-					}
-				}
-				
-				if direction == .Horizontal {
 					r += 1
-				}
-				else {
-					c += 1
 				}
 
 				if (c >= columns || r >= rows) {

			
			for letter in word.characters {
				setCell(c, row: r, value: String(letter))
				if direction == .Horizontal {
					r += 1
				}
				else {
					c += 1
				}
			}
		}

					if String(letter) == cell {
						if rowc - glc > 0 {
							if ((rowc - glc) + word.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)) <= rows {
								coordlist.append((colc, rowc - glc, 1, colc + (rowc - glc), 0))
							}
						}
						
						if colc - glc > 0 {
							if ((colc - glc) + word.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)) <= columns {
								coordlist.append((colc - glc, rowc, 0, rowc + (colc - glc), 0))
							}
						}
					}
