hack 101 cube summation