changes to triange puzzle & recursive count methods