text: Returns maximum amount of gold that can be collected when journey started from first column and moves allowed are right , right - up and right - down
code: int getMaxGold ( int gold [ ] [ MAX ] , int m , int n ) {