input fix on windows
Added keyboard test to program.cpp