Completed ordered factors exercise