         self.boardLayout = boardLayout
         self.direction = direction
         self.g = prevBoard != nil ? prevBoard!.data.g + 1 : g
-        //self.f = self.g + self.h
-        self.h = 1
-        //self.blankTilePos = findTile(BoardNode.blankTile)
     }
 
     private mutating func pushPossibleMove(node: Node<BoardNode>) {

    private let prevBoard: Node<BoardNode>?
    private let boardLayout: String
    private let direction: Direction?
    private var f: Int?
    private let g: Int
    private let h: Int?
    // private let blankTilePos: (Int, Int)?

    private var inOpen = false
    private var possibleMoves: [Node<BoardNode>] = []

    enum Direction {
        case Up, Down, Left, Right

        return 9 - placed()
    }

    private func findTile(tile: Character) -> (dividedArrayPos: Int, modulusArrayPos: Int) {
        var index = 0
        for i in boardLayout.characters.indices {
