Adding a function to get a char from the keyboard

* Have to use this because there is nothing in the standard lib