I am struggling to understand why these two methods are not working correctly. The idea is to populate an array with prime numbers, however, when I create an array and try t