Create balance.cpp