public void loadPuzzle(String difficulty)
	{
		File file;
		if(difficulty.equals("Easy"))
		{
			file = new File("easy16x16.txt");
		}
		else if(difficulty.equals("Medium"))
		{
			file = new File("medium16x16.txt");
		}
		else if(difficulty.equals("Hard"))
		{
			file = new File("hard16x16.txt");
		}
		else
		{
			file = new File("evil16x16.txt");
		}
		int i = 0, j = 0;
		String value = "";
		Scanner scanner;
		try 
		{
			scanner = new Scanner(file);
			
			for(i = 0; i < 16; i++)
			{
				for(j = 0; j < 16; j++)
				{
					if (scanner.hasNext())
					{
						value = scanner.next();
						if(!value.equals("0"))
						{
							try
							{
								entries[i][j].setText(value);
								entries[i][j].setForeground(Color.BLUE);
								entries[i][j].setEditable(false);
								
								pencilEntries[i][j].setText(String.valueOf(value));
								pencilEntries[i][j].setForeground(Color.BLUE);
								pencilEntries[i][j].setEditable(false);
							}
							catch(Exception e)
							{
								System.out.println("It broke at i: " + i + " j: " + j + " with " + value);	
							}
						}
						else
						{
							entries[i][j].setText("");
							pencilEntries[i][j].setText("");
						}
	
					}
				}
			}
			scanner.close();
		}
		catch (FileNotFoundException e)
		{
			JOptionPane.showMessageDialog(null, "Could not load puzzle. Contact system administrator.", "Error", JOptionPane.ERROR_MESSAGE);
		}
		
	}