The (temporary) final version of extractmodule. List of addition: remove edge from extracted digits, extract the first 100000 scanned images, and time completion statistic