Create K.cpp

New and proper