- create the constructor for the class PrimeSieve
- get user number input
- create empty list item
- for loop to add number to the list (from 2 to userInput)
- prime should be equal to 2
- remove multiples of prime from the list
prime = 2, prime = 3 ... {2,3,4,5,6,7,8,9,10}
2 {3,5,7,9}
{3,5,7,9}
3 {5,7}
container = list1
loop{list1} i++ remove items from the list1 container = list1 loop{list1} remove items from the list1
iterate i
for(prime = 2; prime< list.length; prime+prime) { if list.remove() }