Finished up main, cut out a bit of compareOperators() because it
was unneccessary