I knwo how to use gotoxy(x, y) but how do I detect an arrow key using console?