input: Write a function to create a Flask application that handles form submissions containing user data (Name, Email, Phone) and stores it in a SQLite database. The function should return the Flask app instance.
  assert create_flask_app().url_map.strict_slashes == False
  assert create_flask_app().view_functions['home'].__name__ == 'home'
  assert create_flask_app().view_functions['submit'].__name__ == 'submit'
  assert len(create_flask_app().view_functions) == 2
output: def create_flask_app():
      from flask import Flask, request, render_template
      import sqlite3
  
      app = Flask(__name__)
      app.url_map.strict_slashes = False
  
      def create_table():
          conn = sqlite3.connect('users.db')
          c = conn.cursor()
          c.execute('''CREATE TABLE IF NOT EXISTS users
                       (name TEXT, email TEXT, phone TEXT)''')
          conn.commit()
          conn.close()
  
      @app.route('/')
      def home():
          return render_template('form.html')
  
      @app.route('/submit', methods=['POST'])
      def submit():
          name = request.form['name']
          email = request.form['email']
          phone = request.form['phone']
          conn = sqlite3.connect('users.db')
          c = conn.cursor()
          c.execute("INSERT INTO users (name, email, phone) VALUES (?, ?, ?)", (name, email, phone))
          conn.commit()
          conn.close()
          return "Data submitted successfully!"
  
      create_table()
      return app