@Override
	public Place getPlaceByName(String name) {
		if(name == null){
			throw new NullPointerException("Name can not be null.");
		}
		Place place = new Place();
		List<Place> allPlaces = this.getPlaces();
		

		for (int i = 0; i < allPlaces.size(); i++) {
			if (allPlaces.get(i).getName() == name) {
			place = (Place)allPlaces.get(i);
				break;
			}
			}	
		return place;
		}