animations for fundamental algorithms