Create kr4.cpp