Added getch-like functionality.  Thank you Stack Overflow