Binary Image Classification Using Python Dictionaries Multiple Keys