Adding listings and display formatting adjusted

still have error with cin string