Created makeCube() funtion