max consequtive sum problem added