Ruby script for parsing names into a CSV