propertized the main loop
futher propertized the code
rearranged the generated images
commented the code to include what parts of the code correspond to what part of the assignment
increased threshold and changed current image being tested against
changed the third part to use the same size images instead of reduced size images
computed new images after code change