Convert serial.read() to usable int