choose
ABSTRACT
Calculates the number of ways of choose r objects from a collection of n items
PARAMETERS
| n | the size of the collection |
| r | the number of items we are trying to choose |
RETURN
the the number of ways of choose r objects from a collection of n items
DECLARATION
func choose(n, r)