solve discrete log modulo problem using meet in the middle attack