input: def submit_form(form_elements):
      """Create a Flask application that handles form submission and stores the data in a SQLite database.
      The form elements to be handled are: 'Name', 'Email', and 'Phone'.
      After submission, the user should be redirected back to the homepage.
      >>> submit_form(['Name': 'John Doe', 'Email': 'john.doe@example.com', 'Phone': '1234567890'])
      'John Doe', 'john.doe@example.com', '1234567890'
      """
output:     
      from flask import Flask, request, redirect
      import sqlite3
  
      app = Flask(__name__)
  
      @app.route('/submit', methods=['POST'])
      def submit_form(form_elements):
          name = form_elements['Name']
          email = form_elements['Email']
          phone = form_elements['Phone']
  
          conn = sqlite3.connect('form_data.db')
          cursor = conn.cursor()
          cursor.execute('''CREATE TABLE IF NOT EXISTS submissions
                            (id INTEGER PRIMARY KEY AUTOINCREMENT,
                             name TEXT,
                             email TEXT,
                             phone TEXT)''')
          cursor.execute('INSERT INTO submissions (name, email, phone) VALUES (?, ?, ?)', (name, email, phone))
          conn.commit()
          conn.close()
  
          return redirect('/')
  
      if __name__ == '__main__':
          app.run(debug=True)
  