A Example queue class implementation using NSMutableArray in Objective-C