getchar-rs

Safe getchar implementation in rust.