Flatten a Nested Dictionary | Hello Interview