Created an if and else that compares variables and prompts accordingly