extended the Array class to include shuffle method