                         outputArray.removeAtIndex(i - 1)
                     }
                 default:
-                    println("Unrecognized operator.")
+                    outputArray.removeAll(keepCapacity: false)
+                    outputArray.append("An unknown error has occured.")
+                    return outputArray
                 }
                 i = 0
             } else {

        }
        return outputArray
    }

}

    
    func solve(var equ: [String]) -> [String] {
        "Converting Infex to Postfex.."
        var openParenthese = 0
        var closeParenthese = 0
        for checkingToken in equ {
            if checkingToken == "(" {
                openParenthese++
            } else if checkingToken == ")" {
                closeParenthese++
            }
        }
        if openParenthese != closeParenthese {
            outputArray.removeAll(keepCapacity: true)
            outputArray.append("[ERROR 01] There are not the same amount of opening parentheses and closing parentheses!")
            return outputArray
        }
        for (index, token) in enumerate(equ) {
            if opDic[token] != nil {
                if token == "(" {
