Added an import to ensure compatibility with older versions of Python (where / assumed integer division).