C++ program to choose one object (one of four names in this case) randomly