How To Convert Nested List To Dictionary In Python