added constructor allowing to create dict using mapping or iterable