* @brief preOrderIterative() function that will perform the preorder traversal * iteratively, and return the result array that contain the preorder traversal * of a tree. * @param root head/root node of a tree * @return result that is containing the preorder traversal of a tree */