Add fromdict method
Merge pull request #5 from ikegami-yukino/fromdict_method

Add fromdict() method