Implemented hashCode() and equals() in StorageUnit