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