Completed problem 5 and implemented a factoring function in lib_euler.py.