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: static int getMaxGold ( int [ , ] gold , int m , int n ) {