Change exercise 21 solution to use IntStream instead of LongStream.