moved displayCubeVolume() function to main.cpp