added changes to .txt files that were submitted with assignment, removed old debugging statement, simplified card inference