add key_presses.cpp
add comments