Generated shell for problem 3 with initial failing test case.
Renaming arraylist 'index' to more accurate 'size'
Solution for problem 3 using trial division.