Fixed the getFactors() function. It wasn't including the integer square root.