public void addProduct(Product p)
	{
		boolean categExists = false;
		for(GenericPair<Category, HashMap<String,  LinkedList<Product>>> itr : fullmap) {
			if(itr.getFirst().getName().equals(p.getCategory().getName()))
				categExists = true;		
		}
		if(!categExists) {
			HashMap<String,  LinkedList<Product>> h = new HashMap<String,  LinkedList<Product>>();
			GenericPair<Category, HashMap<String,  LinkedList<Product>>> newPair = 
					new GenericPair<Category, HashMap<String,  LinkedList<Product>>>(p.getCategory(), h);
			fullmap.add(newPair);
		}
		
		
		String today = new SimpleDateFormat("dd/MM/yyyy").format(Calendar.getInstance().getTime());

		for(GenericPair<Category, HashMap<String,  LinkedList<Product>>> itr : fullmap) {
			if(itr.getFirst().getName().equals(p.getCategory().getName()))  {
				if(itr.getSecond().containsKey(p.getDate())) {
					itr.getSecond().get(p.getDate()).add(p);
				} else {
					LinkedList<Product> list = new LinkedList<Product>() ;
					list.add(p);
					itr.getSecond().put(p.getDate(), list);
				}
			}
		}
	}