Home Tennis Anderson digs deep to stun Federer