solved all 3x3 basic problems, clean up codebase