Simple If Statement Python Dictionary Append