I think we can move this Arrays.fill outside the while loop? I do not see why it needs to be in the while loop in particular.