A visual representation of sorting algorithms using processing