Update compare.php

Complete(?) compare class