adding program for calculating max subsequence sum with no two adjacent elements