iteration count is now inputed by the user via the first command line argument