Add cube examples to main.cpp