Figured out that a 2x2 is the only thing can be solved in this function. Cleaned up output statements, and added comments.