testing py3, also added a timer to test execution speed