Code for generating random names