To find Volume of Cube using class