Write a script to parse an Nginx access log and return the top 10 IP addresses that resulted in 404 errors.