Raspberry PI to Arduino communication (arduino side)

Takes in values from raspberry pi parses them and sends a response.