A Tool for visualizing selfwritten sorting algorithm