Adding bounds checking on input characters...