Java animations for sorting algorithms