Attempting to create a pair object in the main function--does not compile successfully.