Create Dictionary From Array Python Definition Function Of Three