Cleaned up my CardMatchingGame model's flipCardAtIndex method. Removed matchAttempted which was no longer needed and simplified the section used to replace cards as well as added a helper function to handle the replacement.