Finished the Eggcarton puzzle logic