Added algorithms for finding sum of factors (python3)