calculate specific elements of pascals triangle recursively in ruby and scheme