Added NumberOfPartitions program

didn't follow the CS106b prompt exactly (used a vector instead of an
array). I feel like this isn't the best example of recursion.  Doesn't
seem simple enough.