Optimzed CardStack.toString()

Changed some loop initialization variables to slightly optimize the
algorithm