Allows user to get the value associated with the inputed key