My program is giving warning of TLE