Code for the Raspberry Pi - Checks if the Internet works