Google to settle gender discrimination lawsuit for $118 million