#import <Foundation/Foundation.h>

int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

	NSMutableArray *mArray;
	
	mArray = [NSMutableArray arrayWithCapacity:5];
	
	[mArray addObject:@"one"];
	[mArray addObject:@"two"];
	[mArray addObject:@"three"];
	[mArray insertObject:@"new" atIndex:1];
	
	int i = 0;
	for (NSString *str in mArray){
		NSLog(@"%d: %@",i++, str);
	}
    [pool drain];
    return 0;
}
