System.out.println("Please enter the employee's name [firstName lastName]:");
String name = in.readLine();
String[] names = name.split("\\s");
if (names.length != 2) { throw new IllegalArgumentException("Employees must have a first and last name."); }
return new Employee(names[0], names[1]);
}