Create switch.cpp