Item::Item(char *name, double weight):name(NULL), weight(weight){
Item::setName(name);
}