Added indices to each possible network choice and added checking for index bounds on user input