updated game loop, added generate bombs and get bomb count method