added code for closing after certain no. of rounds, closing issue #7 and this is also final commit before realese 1.0.0