Completed factoring_lab.