Create 2dhard.cpp