If you're talking about simple
poker odds, that's frankly pretty simple math documented in most basic poker texts.
If you're talking about calculating equities against
hands and ranges ala PokerStove, for instance Monte Carlo simulations, that's more complex but also pretty well documented, with free/open-source libraries available to code against.
If you're doing this for personal gratification/experience, that's great, carry on. But if you're think it's something that hasn't already been done 100 times, you'd be mistaken.