O(MN) time has been achieved in the warmup problem by implementing a queue. A few larger grayscale images have been added to test. The warmup takes about 1 second to generate a random solution and find its local minimum on inputs of 300x300. Next step is to work on hw6.