corrected menu printing in two columns and added more comments.