Bowling game Algorithm using BDD