Nested Dictionary In Python Using Return