a method that sums the cubes of a provided range
i dunno