Add 'n' to function signature in #1 and 2 in complexityAnalysis.js

Makes it more obvious that n is an input