Create get_int_ref()

Get integer input from keyboard. 

 Assumption: the input is always an integer. 

 Prompt: “Please enter an integer: “ 

 @param n: integer input from keyboard.