Refactor LeastCommonMultiple(), add comment