flowchart membuat sim bubble sort java c algorithms and data structures