Great job!
For people not very into BJ - there are rules available with pretty binary decisions trees (depending on rules). Quick google search brought https://www.blackjackapprenticeship.com/blackjack-strategy-c... but there are plenty of other resources. Essentially, I believe there is always a perfect strategy available that should guarantee profit (given unlimited cash available to play unlimited game)