Create tick.cpp