pulled out code to factor the integer, then just took the largest in the list.