Add solution for TWTCLOSE

http://www.codechef.com/problems/TWTCLOSE/