basic optimization - checking for solved before solving final 4 squares