completing loops 00 exercise