Created brute force method to discover largest factor--need to refactor later to make it cleaner.