Your friend added a mapping forwww.google.com to /etc/hosts which points to an IP address in the private IPv4 network address space corresponding to the 192.168.0.0/16 CIDR block. This block has been reserved by IANA for private networkingprivate networking and is commonly used for home, office, and enterprise LANs, when globally routable addresses are not required or not available. The mapping in /etc/hosts overrides regular DNS lookups, and unless there happens to be a host with the IP address 192.168.1.1 on the local network, the address is unused.
To remedy the situation, remove the following line from /etc/hosts:
192.168.1.1 www.google.com