added Q3 question
Added Q3 solution
Added is_factor() function