Fixed bug in put function. Was using chit class when there was nothing on the board.