fixing n2 prob initializiation
fixed n squared runtime