Online learning in the presence of strategic adversary