Update welcome.cpp

Addition of cube method