class SimplePartitioner implements Partitioner {

	private static final String PARTITION_KEY = "partition";

	@Override
	public Map<String, ExecutionContext> partition(int gridSize) {<FILL_FUNCTION_BODY>}

}

		Map<String, ExecutionContext> map = new HashMap<>(gridSize);
		for (int i = 0; i < gridSize; i++) {
			map.put(PARTITION_KEY + i, new ExecutionContext());
		}
		return map;
	
<no_super_class>