Use Flask to create a bubble sort graph