How To Implement A Stack Using An Array As Arraylist