added solve tower problem