A man was discovered to be carrying a gun after attending a tour of the U.S. Capitol and leaving the nearby Library of Congress.