Solution to Codility Min-Perimeter-Rectangle problem.

Given a rectangle area \(A\), find the smallest possible perimeter for a rectangle with integer sidelengths and area \(A\).

We just iterate through all the possible divisors, and update the mininum perimeter.