Enables looping until the user presses a key. Uses the curses module. Run tests with: nosetests --with-doctest --doctest-tests curses_check_for_keypress.py