Swift Array Extensions to add Stack and Queue operations.