public static void main(String[] args) {
		int[] scores = {1, 5, 3, 4, 2, 6, 9, 8, 6, 6, 3, 5, 9, 7};
		Entry[] elist = mergeSortAndPopulate(scores);
		
		JFrame frame = new JFrame("Leaderboard");
		JPanel panel = new JPanel(new GridLayout(0, 2));
		JScrollPane scrollPane = new JScrollPane();
		frame.add(scrollPane, BorderLayout.CENTER);
		scrollPane.add(panel);
		scrollPane.setViewportView(panel);
		panel.setPreferredSize(new Dimension(320, 480));
		
		for(Entry e : elist) {
			panel.add(new JLabel(e.getName()));
			panel.add(new JLabel(Integer.toString(e.getScore())));
		}
		
		frame.setPreferredSize(new Dimension(320, 240));
		scrollPane.setPreferredSize(new Dimension(320, 240));
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setContentPane(scrollPane);
		frame.pack();
		frame.setVisible(true);
	}