Make the flipCardAtIndex method public