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
< ? php function getMaxGold ( $ gold , $ m , $ n ) { $ MAX = 100 ;