Online Learning in Iterated Prisoner's Dilemma to Mimic Human Behavior