Solved more TOJ problems.