Fixed the compare methods in card and converted to using spaces and not tabs