create print loop for user input