Python Pass A Dictionary To A Function