add exercise3 with notes using prime_division?