Edited ex 13 so its works except it doesn't print the prime 2