added pyramid max sum problem
added integer stream rank