populating and searching object arrays through prompts