Use NSUInteger in for loop to get rid of warning. Fix #5