added an overloaded operator function of [] for the hand class