added attribution for ordinal function
edited num_commits argument to accept wider range of inputs