K-Means Python script to Flask application (step by step) - PART #1