decreased array length a litte
implemented par_op
added operator as parameter